//
//  UIFont+TitleFont.m
//  OA
//
//  Created by Apple on 16/6/21.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "UIFont+TitleFont.h"

@implementation UIFont (TitleFont)

+ (UIFont *)font:(NSInteger)fsize {

  return [UIFont performSelector:NSSelectorFromString([NSString
                                     stringWithFormat:@"f%@", @(fsize)])];
}
+ (UIFont *)f1 {

  return [UIFont systemFontOfSize:54 / 3];
}

+ (UIFont *)f2 {

  return [UIFont systemFontOfSize:50 / 3];
}

+ (UIFont *)f3 {

  return [UIFont systemFontOfSize:48 / 3];
}

+ (UIFont *)f4 {

  return [UIFont systemFontOfSize:40 / 3];
}

+ (UIFont *)f5 {

  return [UIFont systemFontOfSize:36 / 3];
}

+ (UIFont *)f6 {

  return [UIFont systemFontOfSize:30 / 3];
}
@end
